﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace Close.io.API
{
	public class OpportunityAggregateResult
	{

		[JsonProperty(PropertyName = "total_results")]
		public int? TotalResults { get; set; }

		[JsonProperty(PropertyName = "count_by_value_period")]
		public Dictionary<string,int> CountByValuePeriod { get; set; }

		[JsonProperty(PropertyName = "total_value_one_time")]
		public int? TotalValueOneTime { get; set; }

		[JsonProperty(PropertyName = "total_value_monthly")]
		public int? TotalValueMonthly { get; set; }

		[JsonProperty(PropertyName = "total_value_annual")]
		public int? TotalValueAnnual { get; set; }

		[JsonProperty(PropertyName = "total_value_annualized")]
		public int? TotalValueAnnualized { get; set; }

		[JsonProperty(PropertyName = "expected_value_one_time")]
		public int? ExpectedValueOneTime { get; set; }


		[JsonProperty(PropertyName = "expected_value_annualized")]
		public int? ExpectedValueAnnualized { get; set; }

	}
}